---
title: spaCy
---

>[spaCy](https://spacy.io/) is an open-source software library for advanced natural language processing, written in the programming languages Python and Cython.

## Installation and Setup


<CodeGroup>
```bash pip
pip install spacy
```

```bash uv
uv add spacy
```
</CodeGroup>



## Text Splitter

See a [usage example](/oss/how-to/split_by_token/#spacy).

```python
from langchain_text_splitters import SpacyTextSplitter
```

## Text Embedding Models

See a [usage example](/oss/integrations/text_embedding/spacy_embedding)

```python
from langchain_community.embeddings.spacy_embeddings import SpacyEmbeddings
```
